package com.telit.uav.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * @Auther amy
 * @Describe 多媒体封装类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UavMediaSourceDTO {

    @ApiModelProperty(value="多媒体路径")
    private String mediaUrl;

    @ApiModelProperty(value="上传时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date uploadTime;

    @ApiModelProperty(value="设备名称")
    private String uavName;

    @ApiModelProperty(value="设备型号")
    private String equipmentModel;

    @ApiModelProperty(value="上传人")
    private String uploader;

    @ApiModelProperty(value="查询开始时间")
    private String startTime;

    @ApiModelProperty(value="查询结束时间")
    private String endTime;

    @ApiModelProperty(value="文件类型 image图片 document文档 audio音频 video视频")
    private String fileType;


}
